﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace DHAA.Models
{
    public class ProductModels
    {
        [Required(ErrorMessage = "Category ID cannot be empty")]
        [DisplayName("Category ID")]
        public int ProductID { get; set; } 

        [Required(ErrorMessage = "Category ID cannot be empty")]
        [DisplayName("Category ID")]
        public int CategoryID { get; set; } 

        [Required(ErrorMessage = "Category ID cannot be empty")]
        [DisplayName("Category ID")]
        public string ProductName { get; set; }

        [Required(ErrorMessage = "Category ID cannot be empty")]
        [DisplayName("Category ID")]
        public string ProductImage { get; set; }

        [Required(ErrorMessage = "Category ID cannot be empty")]
        [DisplayName("Category ID")]
        public float Price { get; set; }

        [Required(ErrorMessage = "Category ID cannot be empty")]
        [DisplayName("Category ID")]
        public string Description { get; set; }

        [Required(ErrorMessage = "Category ID cannot be empty")]
        [DisplayName("Category ID")]
        public int FeedID { get; set; }


    }
}
